﻿#ifndef RFMMAIN_H
#define RFMMAIN_H

#include <QDialog>

QT_BEGIN_NAMESPACE
namespace Ui { class RfmMain; }
QT_END_NAMESPACE

class QTimer;


class RfmMain : public QDialog
{
    Q_OBJECT

public:
    RfmMain(QWidget *parent = nullptr);
    ~RfmMain();

    void initUI();

private slots:
    void on_pushButton_read_clicked();

    void on_pushButton_write_clicked();

    void on_pushButton_clear_clicked();

    void setWOtherEditData(const QString &arg1, int type);

    void setROtherEditData(const QString &arg1, int type);

    void on_pushButton_w10_clicked();

    void on_pushButton_w16_clicked();

    void on_pushButton_w2_clicked();

    void on_pushButton_r10_clicked();

    void on_pushButton_r16_clicked();

    void on_pushButton_r2_clicked();

private:
    Ui::RfmMain *ui;

    QTimer* m_readTimer;
};
#endif // RFMMAIN_H
